package com.study.shop;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.HashMap;
import java.util.Map;

@SpringBootApplication
@MapperScan("com.study.shop.mapper")
public class ShopApplication {
    /**
     * 缓存，用来存储token信息
     * key   : token
     * value : userId
     */
    public final static Map<String,String> caches = new HashMap<>();

    public static void main(String[] args) {
        SpringApplication.run(ShopApplication.class, args);
    }
}
